<div style="float:right;"> 
<a href="<?= $member_base_url; ?>student/myaccount/" >  Edit  </a> </div>
<table  id="tblform" style="width:60%">
<tbody>
<tr>
		<td>
        <?php
		if(!empty($student['photo_type']))
		{
		?>
         <img height="150" width="150" src="<?php echo $member_image_path."fotos/".$student['sid'].".".$student['photo_type'];  ?>"/><?php  ?></td>
         <?php
		}
		else
		{
		echo "<img src='".$member_image_path."no_image.jpg' height='150' width='150'/>";	
		}
		 ?>
		<td> </td>
	</tr>
	<tr>
		<td><b> Name </b></td>
		<td><?php echo $student['name']; ?>  </td>
	</tr>
    <tr>
		<td><b>Selected Country </b></td>
		<td><?php echo $form['countries']; ?>  </td>
	</tr>
    
    <tr>
		<td><b>Gender </b></td>
		<td> <?php echo $student['gender'];  ?>  </td>
	</tr>
    <tr>
		<td><b> Type </b></td>
		<td> 
      <?php   echo $student['type'];  ?>
         
         
        </td>
	</tr>
    <tr>
		<td><b> EmailID </b></td>
		<td>  <?php echo $student['email_id'];?>   </td>
	</tr>
    <tr>
		<td><b> Mobile</b></td>
		<td>  <?php echo $student['mobile'];?> </td>
	</tr>
     <tr>
		<td><b> Address  </b></td>
		<td>    <?php echo $student['address'];?> 			</td>
	</tr>
	 <tr>
		<td><b> Resume </b> </td>
		<td>    
		<?php
		   echo $_SERVER['document_root'];
		$filepath=$_SERVER['DOCUMENT_ROOT'].$member_image_path."resumes/".$student['sid'].".".$student['resume_type'];
		//echo $filepath;
		if(file_exists($filepath))
		{
		?>
         <a href="<?php echo $member_image_path."resumes/".$student['sid'].".".$student['resume_type'];  ?>">View</a></td>
         <?php
		}
		else
		{
		echo "Not uploaded";	
		}
		 ?>			</td>
	</tr>
</tbody>
</table>
 </form>
 <script>
 $(document).ready(function() {
     $("#course_form").RSV({
       onCompleteHandler: frmSubmit,
       errorFieldClass: "errorDesc",
       displayType: "display-html",
       errorHTMLItemBullet: "&#8212; ",
             rules: [
                     "required,name,Please enter name."
             ]
     });
  // a custom onComplete handler to prevent form submits for the demo
     function frmSubmit()
     {
       return true;
     }

        
});
 </script>